/*
 *  Configuration.cpp
 *  GLRender
 *
 *  Created by Patrick zulian on 5/20/10.
 *  Copyright 2010 University  of Lugano. All rights reserved.
 *
 */

#include "Configuration.h"

Configuration * Configuration::INSTANCE = NULL;

Configuration * Configuration::getInstance() 
{
	if (Configuration::INSTANCE == NULL) {
		Configuration::INSTANCE = new Configuration();
		}
	return Configuration::INSTANCE;
}



Configuration::Configuration()
: debug(false), showCockpit(false)
{
	renderer = NULL;
}